package com.yiyang.pojo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@TableName("build_room")
@Schema(name = "build_room",description = "楼宇-房间关系实体类")
public class BuildingRoom {
    @TableId(type = IdType.AUTO)
    private Integer id;
    @Schema(name = "bid",description = "楼宇id")
    private Integer bid;
    @Schema(name = "rid",description = "房间id")
    private Integer rid;
    @Schema(name = "type",description = "房间户型")
    private String type;
    @Schema(name = "direction",description = "房间朝向")
    private String direction;
    @Schema(name = "imgUrl",description = "房间图片地址")
    @TableField(value = "img_url")
    private String imgUrl;
    @Schema(name = "description",description = "房间详细描述")
    private String description;
    @Schema(name = "isDelete",description = "是否被弃用   1：弃用   0：使用")
    @TableField(value = "is_delete")
    private Integer isDelete;
}
